<style>
    /* dummy descendant rule */
    span li { color: red; }
</style>
<p>
    Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=15887">http://bugs.webkit.org/show_bug.cgi?id=15887</a> REGRESSION (r27576): Crash in ComputedStyle::affectedByHoverRules clicking link on Digg</i>.
</p>
<p>
    This test should not crash.
</p>
<div id="target" style="display: none;"></div>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();
    document.getElementById("target").style.color = "blue";
</script>
